import { GButton } from "../../../../../com/mui/controls/GButton";
import { ObjCreate } from "../../common/ObjCreate";
import { GlobalStyle } from "../../../../common/global/GlobalStyle";
//class EqStrengthEnableBtn
    
    export  class EqStrengthEnableBtn extends GButton
    {
        constructor()
        {
            super();
            super.label = "";
            this._labelTxt = ObjCreate.createTextField("", 0, 5, 26, 20, this, GlobalStyle.textFormat6);
            this._labelTxt.autoSize = flash.text.TextFieldAutoSize.CENTER;
            this.styleName = "StrengthAddEnableBtn";
            return;
        }

        public /* override */ set styleName(arg1: string)
        {
            super.styleName = arg1;
            if (arg1 == "StrengthAddEnableBtn" || arg1 == "EquipJewelAddEnableBtn") 
            {
                this._labelTxt.textColor = 15788607;
            }
            else if (arg1 == "StrengthAddDisableBtn" || arg1 == "EquipJewelAddDisableBtn") 
            {
                this._labelTxt.textColor = 8158332;
            }
            return;
        }

        public /* override */ set label(arg1: string)
        {
            this._labelTxt.text = arg1;
            return;
        }

        /* internal */ /* var */_labelTxt: Object /* flash.text.TextField */;
    }
